|
freeaddrinfo is used to free the pointer to the structure addrinfo returned by a call to getaddrinfo.
Syntax
void freeaddrinfo(
__in struct addrinfo *ai
);
Parameters
ai
A pointer returned by getaddrinfo.
Return Values
None
Remarks
freeaddrinfo must be called when the application finishes using the pointer or a memory leak will occur.